<!doctype html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <title>修改分账配置参数</title>
    <meta name="renderer" content="webkit|ie-comp|ie-stand">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport"
          content="width=device-width,user-scalable=yes, minimum-scale=0.4, initial-scale=0.8,target-densitydpi=low-dpi"/>
    <meta http-equiv="Cache-Control" content="no-siteapp"/>
    <link rel="shortcut icon" href="../../static/images/icon.ico" type="image/x-icon"/>
    <link rel="stylesheet" href="../../static/css/font.css">
    <link rel="stylesheet" href="../../static/css/xadmin.css">

</head>

<body>

<div class="x-body">
    <form class="layui-form">
        <div class="layui-form-item">
            <label class="layui-form-label" style="width: 25%">分账PID：</label>
            <div class="layui-input-inline">
                <input type="text" style="width: 234px" id="trans_out" name="trans_out" required lay-verify="required"
                       autocomplete="off" class="layui-input" value="{{.conf.TransOut}}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label" style="width: 25%"></label>
            <span>
                    <a href="https://openhome.alipay.com/platform/keyManage.htm?keyType=partner"
                       target="_blank"
                       style="text-decoration: none;color: #40AFFE;font-size: 13px">点我获取分账PID，获取分账PID之后，退出当前账号后再获取收款PID</a></span>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label" style="width: 25%">收帐PID：</label>
            <div class="layui-input-inline">
                <input type="text" style="width: 234px" id="trans_in" name="trans_in" required lay-verify="required"
                       autocomplete="off" class="layui-input" value="{{.conf.TransIn}}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label" style="width: 25%"></label>
            <span>
                    <a href="https://openhome.alipay.com/platform/keyManage.htm?keyType=partner"
                       target="_blank"
                       style="text-decoration: none;color: #40AFFE;font-size: 13px">点我获取收款PID</a></span>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label" style="width: 25%">应用APPID：</label>
            <div class="layui-input-inline">
                <input type="text" style="width: 234px" name="app_id" required lay-verify="required"
                       autocomplete="off" class="layui-input" value="{{.conf.AppId}}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label" style="width: 25%"></label>
            <span>
                    <a href="https://openhome.alipay.com/platform/developerIndex.htm"
                       target="_blank"
                       style="text-decoration: none;color: #40AFFE">点我获取APPID</a></span>
        </div>
        <div class="layui-form-item" align="center">
            <div class="layui-input-block">
                <button class="layui-btn layui-btn-radius" id="add_config" style="background-color: #1E9FFF"
                        lay-filter="add_config" lay-submit>立即提交
                </button>
                <button class="layui-btn layui-btn-radius" style="background-color: #FFB800"
                        onclick="x_admin_close()" type="button">取消
                </button>
            </div>
        </div>
    </form>
</div>

<script type="text/javascript" src="../../static/plugins/jquery-3.2.1/jquery-3.2.1.min.js"></script>
<script type="text/javascript" src="../../static/lib/layui/layui.js"></script>
<script type="text/javascript" src="../../static/js/xadmin.js"></script>
<script type="text/javascript" src="../../static/js/reload.js"></script>

<script type="application/javascript">
    $(document).keydown(function (e) {
        if (e.keyCode == "13") {
            $("#modify").click();
        }
    });
</script>

</body>
</html>